//
//  BanBu_SmileScrolView.h
// Halfarea
//
//  Created by Wang Xj on 14-3-19.
//
//

#import <UIKit/UIKit.h>
#import "BanBu_SmileView.h"
#import "BanBu_ChatViewController.h"
#import "BanBu_SmileViewAPI.h"

@protocol BanBu_SmileScrolViewDelegate;

@interface BanBu_SmileScrolView : UIView<UIScrollViewDelegate>
{
    UIButton *cancelButton;
}

@property(nonatomic,assign) SmileViewType type;       //设置“表情”大类中不同种类的表情（小表情、符号、）,type的数据在配置文件中
@property(assign,nonatomic) KeyboardType keyboardType;//键盘类型（表情、加号）
@property(nonatomic,retain) NSMutableArray *inputedStr;
@property(nonatomic,assign) id<BanBu_SmileScrolViewDelegate> delegate;

@property(nonatomic,retain) UIPageControl *pageControl;

@property(assign, nonatomic)BanBu_ChatViewController * chatViewController;

@property (retain, nonatomic)UIScrollView * contengScrollViewSmile;     //笑脸，不带发送按钮
@property (retain, nonatomic)UIScrollView * contengScrollViewSmileSend; //笑脸，带发送按钮
@property (retain, nonatomic)UIScrollView * contengScrollViewCollect;   //收藏的表情
@property (retain, nonatomic)UIScrollView * contengScrollViewAdd;       //加号键盘


@property (assign, nonatomic)BOOL s1;//显示表情
@property (assign, nonatomic)BOOL s2;//显示符号
@property (assign, nonatomic)BOOL s3;//显示加号键盘


@property (retain, nonatomic)UIScrollView * contengScrollViewButton;//表情键盘：表情种类按钮
@end

@protocol BanBu_SmileScrolViewDelegate <NSObject>
@optional

- (void)banBu_SmileView:(BanBu_SmileScrolView *)smileView didInputSmile:(NSString *)inputString isDelete:(BOOL)del type:(int) smile;

@optional

-(void)banBu_ActionView:(BanBu_SmileScrolView *)actionView didInputBrand:(UIButton *)actionBrand isAdd:(BOOL)add;

-(NSString *)addActionCard;

@end
